include_directories(${OpenCV_INCLUDE_DIRS})
include_directories(${EXTRA_INCLUDES})

add_executable(opencv_test opencv_test.cpp)

target_include_directories(opencv_test PUBLIC ${CMAKE_SOURCE_DIR}/include ${EXTRA_INCLUDES})
target_include_directories(opencv_test PUBLIC ${OpenCV_INCLUDE_DIRS})

target_link_libraries(opencv_test PUBLIC yaml-cpp)
target_link_libraries(opencv_test PUBLIC spdlog::spdlog_header_only)
target_link_libraries(opencv_test PUBLIC ${OpenCV_LIBS})
target_link_libraries(opencv_test PUBLIC ${EXTRA_LIBS})
target_link_directories(opencv_test PUBLIC ${EXTRA_LIBS})
